package com.geeguo.ebuilder.operation.business.system.operlog.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@Schema(title = "操作日志记录")
public class OperLogVO {

    @Schema(title = "日志主键")
    private String id;

    @Schema(title = "模块标题")
    private String title;

    @Schema(title = "业务类型")
    private Integer logType;

    @Schema(title = "客户端类型（1：Web端、2：移动端）")
    private Integer clientType;

    @Schema(title = "方法名称")
    private String method;

    @Schema(title = "操作人员用户ID")
    private String userId;

    @Schema(title = "操作人员用户名")
    private String username;

    @Schema(title = "主机地址")
    private String ip;

    @Schema(title = "请求URL")
    private String url;

    @Schema(title = "请求方式")
    private String requestMethod;

    @Schema(title = "请求参数")
    private String requestParam;

    @Schema(title = "返回参数")
    private String jsonResult;

    @Schema(title = "是否成功（1：是、2：否）")
    private Integer success;

    @Schema(title = "错误消息")
    private String errorMsg;

    @Schema(title = "创建时间")
    private Date createTime;

    @Schema(title = "创建人")
    private String createUser;
}
